https://blog.walterlv.com/post/run-dispatcher-in-unit-test.html
如何在单元测试中使用 Dispatcher.Invoke/InvokeAsync? - walterlv